﻿using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;

public interface IDataFetcher
{
    Task GetTimedData();

    Task<List<Device>> FetchDeviceListAsync(string token);
    Task<List<RealtimeData>> FetchRealtimeDataAsync(string token, IEnumerable<int> deviceAddrs, DateTime? lastFetchTime);
}